package com.leeh.utils;

import org.springframework.beans.factory.annotation.Autowired;

import com.leeh.pojo.User;
import com.leeh.service.UserService;

public class Test {
	
	@Autowired
	private UserService userService;
	
	public static void main(String[] args) {
		User user = new User();
		user.setAge(24);
		user.setName("shixuan");
		new Test().userService.saveUser(user);
	}
	
}
